<?php

    /**
     * 上市板块常量
     * Class PlateEnum
     * @author fyl
     * @2016-1-16
     */
    class ProjectEnum {

        const IN_TYPE_ZXB                             = 100;   //中小板
        const IN_TYPE_ZB                              = 101;   //主板
        const IN_TYPE_XSB                             = 102;   //新三板
        const IN_TYPE_CYB                             = 103;   //创业板


        public static $Plate_types = [
            self::IN_TYPE_ZXB                        =>  '中小板',
            self::IN_TYPE_ZB                         =>  '主板',
            self::IN_TYPE_XSB                        =>  '新三板',
            self::IN_TYPE_CYB                        =>  '创业板',
        ];

        /**
         * 票据种类
         */
        const IN_TYPE_ZP                              = 100;     //纸票
        const IN_TYPE_DP                              = 101;     //电票

        public static $Ticket_types = [
            self::IN_TYPE_ZP                         =>  '纸票',
            self::IN_TYPE_DP                         =>  '电票',
        ];

        /**
         * 还款方式
         */
        const IN_TYPE_ONE                              = 100;     //按月付息，到期还本
        const IN_TYPE_TWO                              = 101;     //一次付息，到期还本
        const IN_TYPE_THREE                            = 102;     //到期还本息

        public static $Pay_types = [
            self::IN_TYPE_ONE                         =>  '按月付息，到期还本',
            self::IN_TYPE_TWO                         =>  '一次付息，到期还本',
            self::IN_TYPE_THREE                       =>  '到期还本息',
        ];

        /**
         * 公司级别
         */
        const RANK_ONE                              = 1;   //一级
        const RANK_TWO                              = 2;   //二级
        const RANK_THREE                            = 3;   //三级
        const RANK_FOUR                             = 4;   //四级


        public static $Rank_type = [
            self::RANK_ONE                         =>  '一级',
            self::RANK_TWO                         =>  '二级',
            self::RANK_THREE                       =>  '三级',
            self::RANK_FOUR                        =>  '四级',
        ];

        /**
         * 银行
         */
        const IN_TYPE_CCB                                = 100;     //建设银行
        const IN_TYPE_ICBC                               = 101;     //工商银行
        const IN_TYPE_PBC                                = 102;     //中国银行
        const IN_TYPE_ABC                                = 103;     //农业银行

        public static $bank_types = [
            self::IN_TYPE_CCB                         =>  '建设银行',
            self::IN_TYPE_ICBC                        =>  '工商银行',
            self::IN_TYPE_PBC                         =>  '中国银行',
            self::IN_TYPE_ABC                         =>  '农业银行',
        ];

    }


